package com.zzyl.nursing.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.models.auth.In;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;
import java.util.List;

@Data
public class NursingTaskVo {
    //创建时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
    //主键id
    private Long id;
    //护理员id
    private String nursingId;
    //护理项目ID
    private Integer projectId;
    //护理项目名称
    private String projectName;
    //老人id
    private Integer elderId;
    //老人姓名
    private String elderName;
    //床位
    private String bedNumber;
    //预计服务时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime estimatedServerTime;
    //状态
    private Integer status;
    //护理员姓名
    private List<String> nursingName;
}
